package com.binary.coder.gift.core.interfaces.Invitation.dto.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author atao
 * @version 1.0.0
 * @ClassName DesignElementReq.java
 * @Description 设计元素响应结果
 * @createTime 2024年06月21日 16:48:00
 */
@Data
@Builder
@ApiModel("查询设计元素的响应实体")
public class QueryDesignElementRes {

    @ApiModelProperty(value = "设计元素ID", example = "12345")
    private Long id;

    @ApiModelProperty(value = "类型代码", example = "TEXT")
    private String typeCode;

    @ApiModelProperty(value = "内容", example = "设计内容")
    private String content;

    @ApiModelProperty(value = "文件路径", example = "/images/design.png")
    private String filePath;

    @ApiModelProperty(value = "位置X坐标", example = "100.5")
    private BigDecimal positionX;

    @ApiModelProperty(value = "位置Y坐标", example = "200.5")
    private BigDecimal positionY;

    @ApiModelProperty(value = "宽度", example = "300.0")
    private BigDecimal width;

    @ApiModelProperty(value = "高度", example = "400.0")
    private BigDecimal height;
}
